export function fn(key, routes) {
  return key.filter((item) => {
    return routes.filter((data) => {
      return (data.name = item);
    });
  });
}
